<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta data-th-replace="common/meta :: meta">
    <title>格物数据后台管理平台</title>
    <link rel="stylesheet" data-th-replace="common/Link :: link">
</head>
<body class="js-route-flag js-menus">
<div class="container-fluid">
    <div class="row rowPadding">
        <div class="row">
            <div class="col-md-6 col-xs-7">
            </div>
            <div class="col-md-6 col-xs-4">
                <button class="btn btn-gew pull-right btn-sm addBtn" type="button"><i class="fa fa-plus"></i>添加</button>
            </div>
        </div>
        <div class="table-responsive marginTop">
            <table class="table table-hover" id="bootstrapTree"></table>
        </div>
    </div>
    <!--修改-->
    <div id="editMenu" class="hidden-gew">
        <form class="form-horizontal">
            <div class="box-body">
                <input type="hidden" id="id" name="id">
                <div class="form-group">
                    <label for="parentMenu" class="col-sm-2 control-label">父级菜单</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="parentMenu" readonly="readonly" placeholder="请输入父级菜单...">
                    </div>
                </div>
                <div class="form-group">
                    <label for="menuName" class="col-sm-2 control-label">菜单名称</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="menuName" placeholder="请输入菜单名称...">
                    </div>
                </div>
                <div class="form-group">
                    <label for="menuAddress" class="col-sm-2 control-label">菜单地址</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="menuAddress" placeholder="请输入菜单地址...">
                    </div>
                </div>
                <div class="form-group">
                    <label for="menuSort" class="col-sm-2 control-label">菜单排序</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="menuSort" placeholder="请输入菜单排序...">
                    </div>
                </div>
                <div class="form-group">
                    <label for="iconurl" class="col-sm-2 control-label">菜单图标</label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control" name="iconurl" id="iconurl" placeholder="请选择菜单图标..." >
                        <span id="getIcon" style="position:absolute;top:12%;right:4%;"></span>
                    </div>
                    <div class="col-sm-1">
                        <a id="icon"><i style="font-size:26px;" class="fa fa-hand-o-up" aria-hidden="true"></i></a>
                    </div>
                    <div class="col-sm-1">
                        <a id="clearIcon"><i style="font-size:26px;" class="fa fa-times" aria-hidden="true"></i></a></input>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">是否为按钮</label>
                    <div class="col-sm-10 isbtn">
                        <input style="display: none" class="operate-modelCode"> </input>
                        <label class="checkbox-inline">
                            <input type="radio" name="optionsRadiosinline" id="option1" class="flat-red"
                                   value="0" checked="checked" > 是
                        </label>
                        <label class="checkbox-inline">
                            <input type="radio" name="optionsRadiosinline" id="option2" class="flat-red"
                                   value="1"> 否
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <label for="menuGrade" class="col-sm-2 control-label">菜单层级</label>
                    <div class="col-sm-10 ">
                        <select class="form-control select2" id="menuGrade" name='menuGrade'>
                            <option selected="selected" value='-1'>无</option>
                            <option value='1'>1</option>
                            <option value='2'>2</option>
                            <option value='3'>3</option>
                            <option value='4'>4</option>
                            <option value='5'>5</option>
                            <option value='6'>6</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="box-footer">
                <button type="button" id="btn_save" class="btn btn-gew"><i class="fa fa-floppy-o"></i>保存</button>
                <button type="button" class="btn btn-default-gew btn_close"><i class="fa fa-times"></i>关闭</button>
            </div>
        </form>
    </div>
</div>
<!-- 选择图标弹框 -->
<div class="hidden-gew" id="icon_form" style="padding:0 10px;">
</div>
<!-- 选择图标弹框 -->
<div class="commonDisplay" id="selectIcon" >
</div>
<script data-main="js/main.js" src="js/lib/require.min.js" defer async="true"></script>
</body>
</html>